package cn.iocoder.an.module.mold.controller.admin.info.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 模具信息新增/修改 Request VO")
@Data
public class InfoSaveReqVO {

    @Schema(description = "模具id", requiredMode = Schema.RequiredMode.REQUIRED, example = "2472")
    private Long id;

    @Schema(description = "图号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "图号不能为空")
    private String drawingNo;

    @Schema(description = "编码")
    private String code;

    @Schema(description = "类型id", requiredMode = Schema.RequiredMode.REQUIRED, example = "10502")
    @NotNull(message = "类型id不能为空")
    private Long categoryId;

    @Schema(description = "客户名")
    private String customer;

    @Schema(description = "描述", example = "随便")
    private String description;

}